package com.yao.club.entity.dto;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.Instant;

@Getter
@Setter
@Entity
@Table(name = "goods_comment_like_record")
public class GoodsCommentLikeRecord {

  @Id
  @Column(name = "id", nullable = false)
  private Long id;

  @Column(name = "goods_id", length = 32)
  private Long goodsId;

  @Column(name = "goods_comment_id", length = 32)
  private Long goodsCommentId;

  @Column(name = "user_id", length = 32)
  private Long userId;

  @Column(name = "create_time")
  private Instant createTime;

  @Column(name = "status")
  private String status;

}